drip, drip, drip... fixed some memory leaks
authorparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 31 Jul 2003 15:23:28 +0000 (15:23 +0000)
committerparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 31 Jul 2003 15:23:28 +0000 (15:23 +0000)
gpsbabel/arcdist.c
gpsbabel/polygon.c

index dc0cc886993c573e61b400d81ff525b49923e26e..544072299c9d2eb8efd15a5382387d8a2694c16e 100644 (file)
@@ -290,7 +290,6 @@ arcdist_process(void)
                    if ((ed->distance >= pos_dist) == (exclopt == NULL)) {
                        waypt_del(wp);
                        waypt_free(wp);
-                       continue;
                    }
                    xfree( ed );
                }
index 4393e66987d2e3ca4b239c64c8165593a8dc7aed..c4cd8e3fc4a775ff6027ee850110fdbcf78895fa 100644 (file)
@@ -276,7 +276,6 @@ polygon_process(void)
                    if (((ed->state & INSIDE) == OUTSIDE ) == (exclopt == NULL)) {
                        waypt_del(wp);
                        waypt_free(wp);
-                       continue;
                    }
                    xfree( ed );
                }